import cv2
import pylab

img = cv2.imread('train_image/img.png')

roiImageBgr = img[600:800, 1000:1200]

roiImageRgb = cv2.cvtColor(roiImageBgr, cv2.COLOR_BGR2RGB)

# pylab.imshow(roiImageRgb)
# pylab.show()


dollor = cv2.imread('train_image/dollor.png')
dollor[200:400, 600:800] = roiImageBgr

dollorRgb = cv2.cvtColor(dollor, cv2.COLOR_BGR2RGB)

pylab.imshow(dollorRgb)
pylab.show()
